[XEN][HVM] Arrange that we only consider sending a PV-on-HVM event channel
authorSteven Smith <ssmith@xensource.com>
Fri, 29 Sep 2006 14:40:19 +0000 (15:40 +0100)
committerSteven Smith <ssmith@xensource.com>
Fri, 29 Sep 2006 14:40:19 +0000 (15:40 +0100)
commit8f1fe8952783109d67cb1a66e4ea5d5dc5405d81
treed9b494fcbb3803d52d3e42ebd9b3c697070e0dda
parentef01bb7c5338ec8564ef66e4379b25793c212c9d
[XEN][HVM] Arrange that we only consider sending a PV-on-HVM event channel
callback interrupt in vcpu 0.  This avoids a race in SMP HVM domains
which could lead to interrupts never getting delivered.  It is safe
because HVM domains always bind their event channels to vcpu 0.

Bug pointed out by Keir.

Signed-off-by: Steven Smith <sos22@cam.ac.uk>
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/vmx/io.c